package com.zhongen.admin.api.dto;

import com.zhongen.admin.api.entity.SysUser;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;
import java.util.Set;

@Data
@Schema(description = "系统用户传输对象")
@EqualsAndHashCode(callSuper = true)
public class UserDTO extends SysUser {

	/**
	 * 角色ID
	 */
	@Schema(description = "角色id集合")
	private List<Long> role;

	/**
	 * 部门ID列表
	 */
	private List<Long> deptIds;

	/**
	 * 岗位ID
	 */
	private List<Long> post;

	/**
	 * 新密码
	 */
	@Schema(description = "新密码")
	private String newPassword;

	/**
	 * 新密码1
	 */
	@Schema(description = "新密码1")
	private String newpassword1;

	/**
	 * 新密码2
	 */
	@Schema(description = "新密码2")
	private String newpassword2;

	/**
	 * 钉钉用户集合
	 */
	private Set<String> userNames;

	/**
	 * 离职信息
	 */
	List<SysUser> resignationInfo;

	/**
	 * 是否勾选（不再提示）
	 */
	private boolean flag;

	private List<Long> ids;

}
